.class public Lcom/wq/utility/MyApiAdapter;
.super Ljava/lang/Object;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static GetCdmaCellLocation(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/telephony/TelephonyManager;)V
    .locals 1

    const/4 v0, 0x5

    invoke-static {v0}, Lcom/wq/utility/MyApiAdapter;->IsCompatibleFunc(I)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static/range {p0 .. p5}, Lcom/wq/utility/func/GetCdmaCellLocationL5;->GetCdmaCellLocation(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/telephony/TelephonyManager;)V

    :cond_0
    return-void
.end method

.method public static GetManufacturer()Ljava/lang/String;
    .locals 1

    const/4 v0, 0x4

    invoke-static {v0}, Lcom/wq/utility/MyApiAdapter;->IsCompatibleFunc(I)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/wq/utility/func/GetManufacturerL4;->GetManufacturer()Ljava/lang/String;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    const-string v0, ""

    goto :goto_0
.end method

.method public static IsCompatibleFunc(I)Z
    .locals 1

    sget-object v0, Landroid/os/Build$VERSION;->SDK:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    if-lt v0, p0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static SendSMS(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Z
    .locals 1

    const/4 v0, 0x4

    invoke-static {v0}, Lcom/wq/utility/MyApiAdapter;->IsCompatibleFunc(I)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {p0, p1, p2}, Lcom/wq/utility/func/SendSMSL4;->SendSMS(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Z

    move-result v0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x1

    invoke-static {v0}, Lcom/wq/utility/MyApiAdapter;->IsCompatibleFunc(I)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-static {p0, p1, p2}, Lcom/wq/utility/func/SendSMSL1;->SendSMS(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Z

    move-result v0

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static SetFlipperAutoStart(Landroid/widget/ViewFlipper;Z)V
    .locals 1

    const/4 v0, 0x7

    invoke-static {v0}, Lcom/wq/utility/MyApiAdapter;->IsCompatibleFunc(I)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {p0, p1}, Lcom/wq/utility/func/SetFlipperAutoStartL7;->SetFlipperAutoStart(Landroid/widget/ViewFlipper;Z)V

    :cond_0
    return-void
.end method

.method public static getNetworkType(I)Lcom/wq/utility/MyApiAdapter$MY_NETWORK_TYPE;
    .locals 1

    const/4 v0, 0x5

    invoke-static {v0}, Lcom/wq/utility/MyApiAdapter;->IsCompatibleFunc(I)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {p0}, Lcom/wq/utility/func/GetNetworkTypeL5;->GetNetworkType(I)Lcom/wq/utility/MyApiAdapter$MY_NETWORK_TYPE;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x4

    invoke-static {v0}, Lcom/wq/utility/MyApiAdapter;->IsCompatibleFunc(I)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-static {p0}, Lcom/wq/utility/func/GetNetworkTypeL4;->GetNetworkType(I)Lcom/wq/utility/MyApiAdapter$MY_NETWORK_TYPE;

    move-result-object v0

    goto :goto_0

    :cond_1
    invoke-static {p0}, Lcom/wq/utility/func/GetNetworkTypeL1;->GetNetworkType(I)Lcom/wq/utility/MyApiAdapter$MY_NETWORK_TYPE;

    move-result-object v0

    goto :goto_0
.end method

.method public static getPhoneType(I)Ljava/lang/String;
    .locals 1

    const/4 v0, 0x4

    invoke-static {v0}, Lcom/wq/utility/MyApiAdapter;->IsCompatibleFunc(I)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {p0}, Lcom/wq/utility/func/GetPhoneTypeL4;->GetPhoneType(I)Ljava/lang/String;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    invoke-static {p0}, Lcom/wq/utility/func/GetPhoneTypeL1;->GetPhoneType(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public static setLoadWithOverviewMode(Landroid/webkit/WebSettings;Z)V
    .locals 1

    const/4 v0, 0x7

    invoke-static {v0}, Lcom/wq/utility/MyApiAdapter;->IsCompatibleFunc(I)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {p0, p1}, Lcom/wq/utility/func/SetLoadWithOverviewModeL7;->setLoadWithOverviewMode(Landroid/webkit/WebSettings;Z)V

    :cond_0
    return-void
.end method
